<!DOCTYPE html >
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>靖青个人博客-业界资讯</title>
    <meta name="keywords" content="个人博客,靖青个人博客,靖青"/>
    <meta name="description" content="互联网从业者，java开发的cms系统"/>
    <link href="<%=request.getContextPath() %>/resources/css/base.css" rel="stylesheet">
    <link href="<%=request.getContextPath() %>/resources/css/style.css" rel="stylesheet">
<!--[if lt IE 9]>
    <script src="<%=request.getContextPath() %>/resources/js/modernizr.js"></script>
    <![endif]-->
</head>
<body>
<header>
    <div id="logo"><a href="/"></a></div>
    <nav class="topnav" id="topnav">
        <c:forEach items="${navChannels}" var="nav">
            <a href="${nav.customLinkUrl}"><span>${nav.name}</span><span class="en">${nav.pinyinStr}</span></a>
        </c:forEach>
    </nav>
</header>
<article class="blogs">
<h1 class="t_nav"><span>“业界资讯”最新科技和IT资讯，了解一手的创业和投资状态。</span><a href="/" class="n1">网站首页</a><a href="/blog/tpl/web/newlist" class="n2">业界资讯</a></h1>
<div class="newblog left">
    <c:forEach items="${datas.datas}" var="data">
        <h2>${data.title}</h2>
        <p class="dateview"><span>发布时间：<fmt:formatDate value="${data.publishDate }" pattern="yyyy-MM-dd HH:mm:ss"/></span><span>作者：${data.author }</span><span>分类：[<a
                href="/news/life/">${data.cname}</a>]</span>
        </p>
        <figure>
            <c:if test="${ data.attachFileName != null  }">
                <img src="<%=request.getContextPath()%>/resources/upload/thumbnail/${data.attachFileName}">
            </c:if>
        </figure>
        <ul class="nlist">
            <p>${fn:substring(data.content, 0, 100)}...</p>
            <a title="${data.title}" href="/blog/tpl/web/template/${data.id}" target="_blank" class="readmore">阅读全文>></a>
        </ul>
        <div class="line"></div>
    </c:forEach>
    <div class="blank"></div>
    <div class="ad">  
    <img src="images/ad.png">
    </div>
    <div class="page position-relative">
        <jsp:include page="/resources/pages/index_pager.jsp">
            <jsp:param value="${datas.total }" name="totalRecord"/>
            <jsp:param value="/blog/tpl/web/newlist" name="url"/>
        </jsp:include>
    </div>
</div>
<aside class="right">
   <div class="rnav">
<%--      <ul>
       <li class="rnav1"><a href="/download/" target="_blank">日记</a></li>
       <li class="rnav2"><a href="/newsfree/" target="_blank">程序人生</a></li>
       <li class="rnav3"><a href="/web/" target="_blank">欣赏</a></li>
       <li class="rnav4"><a href="/newshtml5/" target="_blank">短信祝福</a></li>
     </ul>      --%>
       留白
    </div>
<div class="news">
<h3>
      <p>最新<span>文章</span></p>
    </h3>
    <ul class="rank">
        <c:forEach items="${latestTopics }" var="latestTopics">
            <li><a href="/blog/tpl/web/template/${latestTopics.id}" title="${latestTopics.title}" target="_blank">${latestTopics.title}</a></li>
        </c:forEach>
    </ul>
    <h3 class="ph">
      <p>点击<span>排行</span></p>
    </h3>
    <ul class="paih">
        <c:forEach items="${mostClickTopics }" var="mostClickTopics">
            <li><a href="/blog/tpl/web/template/${mostClickTopics.id}" title="${mostClickTopics.title}"
                   target="_blank">${mostClickTopics.title}</a></li>
        </c:forEach>
    </ul>
    </div>
    <div class="visitors">
      <h3><p>最近访客</p></h3>
      <ul>

      </ul>
    </div>
    <jsp:include page="baidu_share.jsp"/>
</aside>
</article>
<jsp:include page="footer.jsp"/>
<script src="<%=request.getContextPath() %>/resources/js/silder.js"></script>
</body>
</html>